import {defineStore} from "pinia";

export const useUserStore = defineStore('useUserStore', () => {
    const userInfo = ref({})
    const setUserInfo = (data: Record<string, any>) => {
        userInfo.value = data
    }
    return {
        userInfo,
        setUserInfo
    }
})
